package com.atung.parking.service;

import com.atung.parking.config.result.ApiResult;
import com.atung.parking.entity.BusLicensePlate;
import com.atung.parking.request.ByIdRequest;
import com.atung.parking.request.save.SaveOrUpdateLicensePlateRequest;

import java.util.List;

/**
 * @author Administrator
 */
public interface LicensePlateService {
    ApiResult saveLicensePlateService(SaveOrUpdateLicensePlateRequest request);

    List<BusLicensePlate> queryLicenseNameService(String licenseNumber);

    List<BusLicensePlate>  queryLicensePlateListService();

    ApiResult setDefaultLicensePlateServcie(ByIdRequest request);

    ApiResult deleteLicensePlateService(ByIdRequest request);

    List<BusLicensePlate> queryUseByUserId(Long userId);
}
